package mil.af.amc.adpetracker.service;

import mil.af.amc.adpetracker.model.Rank;

import java.util.List;

/**
 * Interface for Rank Service implementations
 *
 * @author TSgt Jason Ferguson
 */

public interface RankService {

    /**
     * Return a List of all Rank objects
     *
     * @return      a List of all Rank objects
     */
    public List<Rank> getAll();

    /**
     * Return a Rank object by its unique id
     *
     * @param id    unique id of the Rank object to return
     * @return      a Rank object with the given id, or null
     */
    public Rank getById(int id);
}
